﻿@model IQueryable<YTCMS.Domain.Entities.products>
@using YTCMS.Core;
<ul class="product_ul">
    @if (Model.Any())
    {
        foreach (var item in Model)
        {
            <li>
                <div>
                    <a href="/products/details?id=@item.Id"> <img src="@item.Image.Replace("_120x120.jpg", "_320x275.jpg")" style="width:280px; height:190px;" /></a>
                </div>
                <div class="title">
                    <span><a href="/products/details?id=@item.Id">@item.Name</a></span>
                </div>
                <div class="price">
                    <span>特惠价：￥</span>
                    @item.Price
                </div>
                <div class="wantgo">
                    <span class="go"><b></b> 162去过</span>
                    <span class="want"><b></b>156想去</span>
                </div>
            </li>
        }
    }

</ul>


@Html.AjaxPager2((int)ViewBag.PageSize, (int)ViewBag.TotalCount)